package com.yc.blog.spring.aspectj.demo1;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("application.xml");
        UserServiceImpl userService = applicationContext.getBean(UserServiceImpl.class);
        userService.add();
    }
}
